import request from '@g/utils/request'

// 登录
export const login = (data?: KeyValue) => request.post('login', data)

// 获取用户信息
export const getUserInfo = (data?: KeyValue) => request.post('getUserInfo', data)

// 修改密码
export const changePassword = (data?: KeyValue) => new Promise<any>(resolve => {
  resolve({ code: 200 })
})